<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title><%= EVENT_NAME %></title>
<link rel="icon" type="image/ico" href="/favicon.ico"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%= stylesheet_link_tag 'default' %>
<%= javascript_include_tag 'jquery-1.2.6.min' %>
<%= javascript_include_tag 'jquery.corners' %>
<%= javascript_include_tag 'jquery.dimensions' %>
<%= javascript_include_tag 'jquery.gradient' %>
<%= javascript_include_tag 'jquery.dropshadow' %>
<script type="text/javascript">
	$(function(){
		$('.rounded').corners();
		$("#inner_container").dropShadow({right: 12, bottom: 12, blur: 4});
		$("#footer").dropShadow({right: 12, bottom: 12, blur: 4});
	});
</script>

</head>

<body>
	<div id="page_container">
			<div id="inner_container" class="rounded {10px}">
				<div id="header">
		<!--			< %= render :partial => 'sessions/show' %> -->
					<!-- <div class="clear"></div> -->
					<div id="masthead">
						<div id="logo_container">
							<h1 id="event_name"><%= EVENT_NAME %></h1>
						</div>
						<div id="date_and_location_container">
							Thursday, October 30th to Sunday, November 2nd<br />
							St. Edward's University Professional Education Center, Austin, TX
						</div>
					</div>
					<div id="menu_container">
						<a id="skip_nav" href="#content_anchor">skip to main content</a>
						<ul id="menu">
							<li><%= link_to 'Home', {:controller => 'home'} %></li>
							<li><%= link_to 'Open Space', '/open_space' %></li>
							<li><%= link_to 'Workshops', '/workshops' %></li>

							<% if $event_is_timely -%>
								<% if $participants_are_visible -%>
									<li><%= link_to "Who's Coming", {:controller => 'participants', :action => 'index'} %></li>
								<% end -%>
									<% if $registration_is_open -%>
										<li><%= link_to 'Register', {:controller => 'invitation_requests', :action => 'new'} %></li>
									<% end -%>
									<li><%= link_to 'Schedule', '/schedule' %></li>
									<li><%= link_to 'Travel', '/travel' %></li>
									<li><%= link_to 'Contact', '/contact' %></li>					
							<% else %>
								<% if $participants_are_visible -%>
									<li><%= link_to 'Participants', {:controller => 'participants', :action => 'index'} %></li>					
								<% end -%>
							<% end -%>

						</ul>
						<div class="clear"></div>
					</div>
				</div>
				<div id="middle_container">
					<div id="content">
						<a name="content_anchor" id="content_anchor"></a>
				
						<% if flash[:error] -%>
							<div id="error"><%= flash[:error] %></div>
							<% flash[:error] = nil %>
						<% end -%>
				
						<% if flash[:notice] -%>
							<div id="notice"><%= flash[:notice] %></div>
							<% flash[:notice] = nil %>
						<% end -%>
				
						<% if flash[:info] -%>
							<div id="info"><%= flash[:info] %></div>
							<% flash[:info] = nil %>
						<% end -%>
				
						<%= yield :layout %>

					</div>
					<div id="left_column">
					</div>
					<div id="right_column">
						<div style="margin-top: 30px;">
							<%= image_tag('stones.jpg', :alt => "Stones", :border => 0) %>
						</div>
					</div>
				</div>
			</div>
	</div>
	<div id="footer" class="rounded {10px}">
		<div class="sponsor_row">
			<span class="sponsor_logo">
				<%= link_to image_tag('PEC_logo.jpg', :alt => "St. Edward's Logo", :border => 0), "http://www.pec.stedwards.edu", :target => "_blank" %>
			</span>

			<span class="sponsor_logo">
				<%= link_to image_tag('versionone_logo.jpg', :alt => "VersionOne Logo", :border => 0), "http://www.versionone.com", :target => "_blank" %>
			</span>

			<span class="sponsor_logo">
				<%= link_to image_tag('TW_logo.png', :alt => "Thoughtworks Logo", :border => 0), "http://www.thoughtworks.com", :target => "_blank" %>
			</span>

			<span class="sponsor_logo">
				<%= link_to image_tag('microsoft_logo.jpg', :alt => "Microsoft Logo", :border => 0, :width => 170, :height => 29), "http://www.microsoft.com", :target => "_blank" %>
			</span>
		</div>

		<div class="sponsor_row">
			<span class="sponsor_logo">
				<%= link_to image_tag('tw_studios_logo.gif', :alt => "Thoughtworks Studios Logo", :border => 0), "http://studios.thoughtworks.com", :target => "_blank" %>
			</span>
			<span class="sponsor_logo">
				<%= link_to image_tag('OIF_logo.gif', :alt => "Open Information Foundation Logo", :border => 0), "http://www.openinformationfoundation.org", :target => "_blank" %>
			</span>
		</div>
	</div>
</body>

</html>
